package com.molichuxing.services.infrastructure.service;

import com.molichuxing.framework.dto.Paged;
import com.molichuxing.framework.service.RootService;
import com.molichuxing.services.infrastructure.dto.response.ContractLogDto;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 合同创建日志表 服务类
 * </p>
 *
 * @author zhaopenghui
 * @since 2019-09-11
 */
public interface ContractLogService extends RootService {

    /**
     * 获取合同日志列表
     * Map<String,Object> params
     * key：contractName 合同名称
     * key：orderCode 订单号
     * key：contractCode 合同编号
     * key：startTime 创建开始时间
     * key：endTime 创建结束时间
     * @param pageNum 当前页
     * @param pageSize 每页条数
     * @return
     */
    public Paged<ContractLogDto> getOrderDealerList(Map<String,Object> params, Integer pageNum, Integer pageSize);


    /**
     * 新增合同日志
     * @param contractLogDto
     * @return
     */
    public Boolean  createContractLog(ContractLogDto contractLogDto);

    /**
     * 批量新增合同日志
     * @param contractLogDtoList
     * @return
     */
    public Boolean  createContractLogList(List<ContractLogDto> contractLogDtoList);

}
